package com.dstz.bpm.core.model;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;

public class TaskIdentityLink implements Serializable {
   public static final String ar = "user";
   protected String id;
   protected String taskId;
   protected String v;
   protected String type;
   protected String as;
   protected String identity;
   protected String at;

   public void setId(String id) {
      this.id = id;
   }

   public String getId() {
      return this.id;
   }

   public void setTaskId(String taskId) {
      this.taskId = taskId;
   }

   public String getTaskId() {
      return this.taskId;
   }

   public void setInstId(String instId) {
      this.v = instId;
   }

   public String getInstId() {
      return this.v;
   }

   public void setType(String type) {
      this.type = type;
   }

   public String getType() {
      return this.type;
   }

   public void setIdentityName(String identityName) {
      this.as = identityName;
   }

   public String getIdentityName() {
      return this.as;
   }

   public void setIdentity(String identity) {
      this.identity = identity;
   }

   public String getIdentity() {
      return this.identity;
   }

   public void setPermissionCode(String permissionCode) {
      this.at = permissionCode;
   }

   public String getPermissionCode() {
      return this.at;
   }

   public String toString() {
      return (new ToStringBuilder(this)).append("id", this.id).append("taskId", this.taskId).append("instId", this.v).append("type", this.type).append("identityName", this.as).append("identity", this.identity).append("permissionCode", this.at).toString();
   }
}
